package com.example.demo.common.enums;

/**
 * @Author: ak
 * @Date: 2020/4/5 21:00
 */
public enum QuestionEnum implements BaseEnum {
    /**
     * 问题页面枚举
     */
    QUESTION_ERROR("发生错误",500),
    QUESTION_TRUE("发布正常",500),
    FIRST_COMMENT("一级评论",1),
    SECOND_COMMENT("二级评论",2)
    ;
    private String msg;
    private Integer code;

    QuestionEnum(String msg, Integer code) {
        this.msg = msg;
        this.code = code;
    }

    @Override
    public Integer getCode() {
        return code;
    }

    @Override
    public String getMsg() {
        return msg;
    }

    @Override
    public void setCode(Integer code) {

    }

    @Override
    public void setMsg(String msg) {

    }
}
